package com.ruoyi.vo;

import lombok.Data;
import java.util.ArrayList;
import java.util.List;

@Data
public class TreeNodeVO {
    private String id;
    private String label;
    private String role;
    private List<TreeNodeVO> children = new ArrayList<>();

    public TreeNodeVO(String id, String label, String role) {
        this.id = id;
        this.label = label;
        this.role = role;
    }
    public TreeNodeVO(String id, String label) {
        this.id = id;
        this.label = label;
    }

    public TreeNodeVO() {
    }
}
